import store from '@/store'
export default {
  methods: {
    // 检查用户按钮权限
    checkPermission(perminssion) {
      const points = store.state.user.userinfo.roles.points
      return points.includes(perminssion)
    }
  }
}
